#include<stdio.h>
int main(void)
{int a,b;
long c=1;
scanf("%d",&b);
for(a=1;a<=b;a++)
 {//   c=a*a;
 //c=c*a;
 c*=a;
}
printf("%ld/n",c);
return 0;
}
